#ifndef WIDGET_H
#define WIDGET_H

#include <libdaq/device/DAQ122/daq122.h>

#include <QTimer>
#include <QWidget>

using namespace libdaq::device;

QT_BEGIN_NAMESPACE
namespace Ui {
class Widget;
}
QT_END_NAMESPACE

class Widget : public QWidget {
  Q_OBJECT

 public:
  Widget(QWidget *parent = nullptr);
  ~Widget();

 private slots:
      void on_pushButton_clicked();
  void on_pushButton_2_clicked();
  void on_pushButton_3_clicked();
  void ProcessData();

 private:
  Ui::Widget *ui;
  DAQ122 daq122;
  QTimer *timer_;

  uint8_t adc_channel_state_ = 0b11111111;
};
#endif  // WIDGET_H
